<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>LCOV - id:000977,sync:fuzzer2,src:001052.lcov_info_final - src/directives.cpp</title>
  <link rel="stylesheet" type="text/css" href="../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LCOV - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
          <tr>
            <td width="10%" class="headerItem">Current view:</td>
            <td width="35%" class="headerValue"><a href="../index.html">top level</a> - <a href="index.html">src</a> - directives.cpp<span style="font-size: 80%;"> (source / <a href="directives.cpp.func-sort-c.html">functions</a>)</span></td>
            <td width="5%"></td>
            <td width="15%"></td>
            <td width="10%" class="headerCovTableHead">Hit</td>
            <td width="10%" class="headerCovTableHead">Total</td>
            <td width="15%" class="headerCovTableHead">Coverage</td>
          </tr>
          <tr>
            <td class="headerItem">Test:</td>
            <td class="headerValue">id:000977,sync:fuzzer2,src:001052.lcov_info_final</td>
            <td></td>
            <td class="headerItem">Lines:</td>
            <td class="headerCovTableEntry">12</td>
            <td class="headerCovTableEntry">12</td>
            <td class="headerCovTableEntryHi">100.0 %</td>
          </tr>
          <tr>
            <td class="headerItem">Date:</td>
            <td class="headerValue">2016-03-13 10:42:47</td>
            <td></td>
            <td class="headerItem">Functions:</td>
            <td class="headerCovTableEntry">2</td>
            <td class="headerCovTableEntry">2</td>
            <td class="headerCovTableEntryHi">100.0 %</td>
          </tr>
          <tr><td><img src="../glass.png" width=3 height=3 alt=""></td></tr>
        </table>
      </td>
    </tr>

    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td>
<pre class="sourceHeading">          Line data    Source code</pre>
<pre class="source">
<a name="1"><span class="lineNum">       1 </span>            : #include &quot;directives.h&quot;</a>
<a name="2"><span class="lineNum">       2 </span>            : </a>
<span class="lineNum">       3 </span>            : namespace YAML {
<span class="lineNum">       4 </span><span class="lineCov">       2480 : Directives::Directives() {</span>
<span class="lineNum">       5 </span>            :   // version
<span class="lineNum">       6 </span><span class="lineCov">       2480 :   version.isDefault = true;</span>
<span class="lineNum">       7 </span><span class="lineCov">       2480 :   version.major = 1;</span>
<span class="lineNum">       8 </span><span class="lineCov">       2480 :   version.minor = 2;</span>
<a name="9"><span class="lineNum">       9 </span><span class="lineCov">       2480 : }</span></a>
<span class="lineNum">      10 </span>            : 
<span class="lineNum">      11 </span><span class="lineCov">       3540 : const std::string Directives::TranslateTagHandle(</span>
<span class="lineNum">      12 </span>            :     const std::string&amp; handle) const {
<span class="lineNum">      13 </span><span class="lineCov">       3540 :   std::map&lt;std::string, std::string&gt;::const_iterator it = tags.find(handle);</span>
<span class="lineNum">      14 </span><span class="lineCov">       3540 :   if (it == tags.end()) {</span>
<span class="lineNum">      15 </span><span class="lineCov">       3137 :     if (handle == &quot;!!&quot;)</span>
<span class="lineNum">      16 </span><span class="lineCov">       1928 :       return &quot;tag:yaml.org,2002:&quot;;</span>
<span class="lineNum">      17 </span><span class="lineCov">       1209 :     return handle;</span>
<span class="lineNum">      18 </span>            :   }
<span class="lineNum">      19 </span>            : 
<span class="lineNum">      20 </span><span class="lineCov">        403 :   return it-&gt;second;</span>
<span class="lineNum">      21 </span>            : }
<span class="lineNum">      22 </span>            : }
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
    <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LCOV version 1.11</a></td></tr>
  </table>
  <br>

</body>
</html>
